﻿<KCtl:BasePhoneApplicationPage xmlns:my="clr-namespace:Kiva7.Pages"  
    xmlns:KCtl="clr-namespace:Kiva7.Controls"
    x:Class="Kiva7.Pages.HelpPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                               xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape"  Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">

        <!--Pivot Control-->
        <KCtl:OrientedPivot Title="Help Kiva" LoadingPivotItem="PivotLoadingPivotItem">
            <controls:PivotItem x:Name="pvVideos" Header="{Binding Path=L.Video, Source={StaticResource L}}">
                <my:HelpVideoControl />
            </controls:PivotItem>
            <!--Pivot item one-->
            <controls:PivotItem Header="{Binding Path=L.About, Source={StaticResource L}}">
                <ScrollViewer>
                    <StackPanel>
                        <TextBlock x:Name="HA1" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="0,0,0,5" Text="{Binding Path=L.HA1, Source={StaticResource L}}">
                        </TextBlock>

                        <TextBlock x:Name="HA2" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="0,20,0,20" Text="{Binding Path=L.HA2, Source={StaticResource L}}">
                        </TextBlock>

                        <TextBlock x:Name="HA3" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5" Text="{Binding Path=L.HA3, Source={StaticResource L}}">
                        </TextBlock>
                        <TextBlock x:Name="HA4" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5" Text="{Binding Path=L.HA4, Source={StaticResource L}}">
                        </TextBlock>
                        <TextBlock x:Name="HA5" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5" Text="{Binding Path=L.HA5, Source={StaticResource L}}">
                        </TextBlock>
                        <TextBlock x:Name="HA6" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="0,20,0,20" Text="{Binding Path=L.HA6, Source={StaticResource L}}">
                        </TextBlock>
                        <TextBlock x:Name="HA7" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5" Text="{Binding Path=L.HA7, Source={StaticResource L}}">
                        </TextBlock>
                        <TextBlock x:Name="HA8" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5" Text="{Binding Path=L.HA8, Source={StaticResource L}}">

                        </TextBlock>
                        <TextBlock x:Name="HA9" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5" Text="{Binding Path=L.HA9, Source={StaticResource L}}">

                        </TextBlock>
                    </StackPanel>
                </ScrollViewer>
            </controls:PivotItem>

            <!--Pivot item two-->
            <controls:PivotItem Header="{Binding Path=L.HowKivaWorks, Source={StaticResource L}}">
                <ScrollViewer>
                    <StackPanel>
                        <TextBlock x:Name="KW01" TextWrapping="Wrap" Style="{StaticResource KivaTextGroupHeaderStyle}"
                                   Text="{Binding Path=L.KW01, Source={StaticResource L}}">
                        
                        </TextBlock>
                        <TextBlock x:Name="KW02" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5"
                                   Text="{Binding Path=L.KW02, Source={StaticResource L}}">

                        </TextBlock>


                        <TextBlock x:Name="KW03" TextWrapping="Wrap" Style="{StaticResource KivaTextGroupHeaderStyle}"
                                   Text="{Binding Path=L.KW03, Source={StaticResource L}}">
                        
                        </TextBlock>
                        <TextBlock x:Name="KW04" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5"
                                   Text="{Binding Path=L.KW04, Source={StaticResource L}}">

                        </TextBlock>


                        <TextBlock x:Name="KW05" TextWrapping="Wrap" Style="{StaticResource KivaTextGroupHeaderStyle}"                                   
                                   Text="{Binding Path=L.KW05, Source={StaticResource L}}">
                        
                        </TextBlock>
                        <TextBlock x:Name="KW06" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5"
                                   Text="{Binding Path=L.KW06, Source={StaticResource L}}">
                        
                        </TextBlock>


                        <TextBlock x:Name="KW07" TextWrapping="Wrap" Style="{StaticResource KivaTextGroupHeaderStyle}"
                                   Text="{Binding Path=L.KW07, Source={StaticResource L}}">
                        
                        </TextBlock>
                        <TextBlock x:Name="KW08" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5"
                                   Text="{Binding Path=L.KW08, Source={StaticResource L}}">
                        
                        </TextBlock>


                        <TextBlock x:Name="KW09" TextWrapping="Wrap" Style="{StaticResource KivaTextGroupHeaderStyle}"
                                   Text="{Binding Path=L.KW09, Source={StaticResource L}}">
                        
                        </TextBlock>

                        <TextBlock x:Name="KW10A" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5"
                                   Text="{Binding Path=L.KW10A, Source={StaticResource L}}">
                         
                        </TextBlock>
                        <TextBlock x:Name="KW10B" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5"
                                   Text="{Binding Path=L.KW10B, Source={StaticResource L}}">

                        </TextBlock>


                        <TextBlock x:Name="KW11" TextWrapping="Wrap" Style="{StaticResource KivaTextGroupHeaderStyle}"
                                   Text="{Binding Path=L.KW11, Source={StaticResource L}}">
                        
                        </TextBlock>
                        <TextBlock x:Name="KW12" TextWrapping="Wrap" Style="{StaticResource KivaTextNormalStyle}"
                                   Margin="20,0,0,5"
                                   Text="{Binding Path=L.KW12, Source={StaticResource L}}">
                        
                        </TextBlock>


                    </StackPanel>
                </ScrollViewer>
            </controls:PivotItem>
        </KCtl:OrientedPivot>
    </Grid>

    <KCtl:Bindable.ApplicationBar>
        <KCtl:BindableApplicationBar IsVisible="True" IsMenuEnabled="True" >

        </KCtl:BindableApplicationBar>
    </KCtl:Bindable.ApplicationBar>
    
</KCtl:BasePhoneApplicationPage>